package com.example.summer_pro.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TestQuesData {
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class options{
        private Integer key;
        private String text;
        private boolean checked;
        private Integer grade;
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Questions{
        private String description;
        private Integer key;
        private String type;
        private String title;
        private String input;
        private List<options> options;
        private List<Object> data;
        private Boolean required;
        private Boolean edited;
        private Integer value;
        private String score;
        private String answer;
    }
    private int q_id;
    private String title;
    private String date;
    private Integer state;
    private List<Questions> questions;
    private Integer sum_score;
    private boolean titleEditable;
    private boolean numberVisible;
}
